//调用接口配置文件
import { request } from 'config/request'


//获取区域数据
export async function getRegion(params) {
	return request({
		url: 'admin/product/present/getRegion',
		method: 'POST',
		data: params 
	});
};

//新增
export async function addGradeServ(params) {
	return request({
		url: 'jfsc/admin/level/create',
		method: 'POST',
		data: params 
	});
};

//修改
export async function updateGradeServ(params) {
	return request({
		url: 'jfsc/admin/level/update',
		method: 'POST',
		data: params 
	});
};

//删除
export async function delGradeServ(params) {
	return request({
		url: 'jfsc/admin/level/delete',
		method: 'POST',
		data: params 
	});
};

//获取项目数据
export async function getProject(params) {
	params.pageNo = 1;
	params.pageSize = 1000;
	return request({
		url: `admin/estate/adminList`,
		method: 'POST',
		data: params 
	});
};